<%--
  Created by IntelliJ IDEA.
  User: xeijunfeng
  Date: 2021/9/8
  Time: 10:35
  To change this template use File | Settings | File Templates.
--%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>Title</title>
    <link href="<%=basePath%>static/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">表单</a></li>
    </ul>
</div>
<shiro:hasPermission name="repertory:outupdate">
<form action="<%=basePath%>repertoryController/updateOutRepertory.do" method="post">
    <div class="formbody">
        <div class="formtitle"><span>基本信息</span></div>
        <input type="hidden" name="id" value="${outRepertory.id}">
        <ul class="forminfo">
            <li><label>出库物品ID</label><input name="outRepertoryId" type="text" class="dfinput" value="${outRepertory.outRepertoryId}"/></li>
            <li><label>出库物品名称</label><input name="productMaterialsName" type="text" class="dfinput" value="${outRepertory.productMaterialsName}"/></li>
            <li><label>出库物品数量</label><input name="outRepertoryNumber" type="text" class="dfinput" value="${outRepertory.outRepertoryNumber}"/></li>
            <li><label>出库时间</label><input name="outRepertoryDate" type="text" class="dfinput" value="${outRepertory.outRepertoryDate}"/></li>
            <li><label>出库物品类型</label>原料:
                <input name="type" type="radio" value="原料" <c:if test="${outRepertory.type == '原料'}">checked="checked"</c:if>/>&nbsp;成品:<input name="type" type="radio" value="成品" <c:if test="${outRepertory.type =='成品'}">checked="checked"</c:if>/></li>
            <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认保存"/></li>
        </ul>
    </div>
</form>
</shiro:hasPermission>
</body>
</html>

